package com.CreationalPartterns.StaticFactoryMethod;

public class Test {
	public static void main(String[] main){
		double num1=1,num2=2;
		//
		
		String oper="+";
		double result;
		if(oper.equals("+"))
			result=num1+num2;
	}
}
